package org.ww.ware.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.ww.common.utils.R;

/**
 * @program: gmall
 * @description:
 * @author: ww
 * @create: 2024-10-31 11:45
 **/
@FeignClient("gmall-order")
public interface OrderFeignService {

    @GetMapping("/order/order/status/{orderSn}")
    R getByOrderSn(@PathVariable("orderSn") String orderSn);

}
